package com.enjoyor.soa.traffic.api.service.dubbo.idcs;

import com.enjoyor.soa.traffic.api.dto.idcs.ChaseInterceptTempDto;
import com.enjoyor.soa.traffic.api.dto.idcs.ChasePoliceDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

import java.util.List;

public interface DubboChaseInfoService {

	/**
	 * 添加临时拦截点
	 * 
	 * @param list
	 * @return
	 */
	public ResultPojo insertIntercept(ChaseInterceptTempDto dto, String systemKey, String token);

	/**
	 * 插入追缉警员信息
	 * 
	 * @param list
	 * @return
	 */
	public ResultPojo insertPolice(List<ChasePoliceDto> list, String systemKey, String token);

	/**
	 * 删除临时拦截点
	 * 
	 * @param interceptId
	 * @param vehiclePlate
	 * @param vehiclePlateType
	 * @return
	 */
	public ResultPojo deleteIntercept(String interceptId, String vehiclePlate, String vehiclePlateType,
			String systemKey, String token);

	/**
	 * 删除追缉警员信息
	 * 
	 * @param vehiclePlate
	 * @param vehiclePlateType
	 * @param chaseType
	 * @param interceptId
	 * @param personId
	 * @return
	 */
	public ResultPojo deletePolice(String vehiclePlate, String vehiclePlateType, String chaseType, String interceptId,
			String personId, String systemKey, String token);

	/**
	 * 更新临时拦截点（根据拦截点编号）
	 * 
	 * @param info
	 * @return
	 */
	public ResultPojo updateIntercept(ChaseInterceptTempDto info, String systemKey, String token);

	/**
	 * 获取临时拦截点列表
	 * 
	 * @param interceptId
	 * @param vehiclePlate
	 * @param vehiclePlateType
	 * @return
	 */
	public ResultPojo listIntercept(String interceptId, String vehiclePlate, String vehiclePlateType, String systemKey,
			String token);

	/**
	 * 获取追缉警员列表
	 * 
	 * @param vehiclePlate
	 * @param vehiclePlateType
	 * @param chaseType
	 * @param interceptId
	 * @return
	 */
	public ResultPojo listPolice(String vehiclePlate, String vehiclePlateType, String chaseType, String interceptId,
			String systemKey, String token);

	public ResultPojo listAllPolice();
}
